package com.longteng.lesson2.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class Task1 {
//    @Scheduled(cron = "0/5 * * * * ?")
//    public void taskTest(){
//        System.out.println(new Date());
//    }
}
